package mr.go.yaxc.tests.test1;

import java.util.LinkedList;
import java.util.List;

public final class BeanRepository {

    private static List<Bean> beans = new LinkedList<Bean>();

    public static void addBean(Bean bean) {
        beans.add(bean);
    }

    public static Bean[] getBeans() {
        return beans.toArray(new Bean[0]);
    }
}
